package com.my.test.jvm;

public class ForReference {

    public Object instance = null;

    private static final int _1MB = 1024*1024;

    private byte [] bigSize = new byte[2*_1MB];

    public static void main(String[] args) {
        ForReference obja = new ForReference();
        ForReference objb = new ForReference();

        obja.instance = objb;

        objb.instance = obja;

    }
}
